////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   SimpleMaintStyleFormTemplate.java
// AUTHOR           :   ric.yik
// DATE CREATE      :   2006/5/3
// DESCRIPTION      :   
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/5/3      ric.yik         1.0                 source is created.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.framework.controller.form;

import java.util.Iterator;

import com.erp.framework.model.schema.MetaData;

public abstract class SimpleMaintStyleFormTemplate extends SimpleMaintStyleForm implements UIControlInterceptor {

    // attributes for T_ITEM_TASK
    private String[] documentNo;                       //DB Column Name: DOCUMENT_NO
    private String[] documentType;                     //DB Column Name: DOCUMENT_TYPE
    private String[] taskLineNo;                       //DB Column Name: LINE_NO
    private String[] taskTaskCode;                     //DB Column Name: TASK_CODE
    private String[] taskTaskDesc;                     //DB Column Name: TASK_DESC
    private String[] taskUserGroup;                    //DB Column Name: USER_GROUP
    private String[] taskDeadline;                     //DB Column Name: DEADLINE
    private String[] taskCompleteDate;                 //DB Column Name: COMPLETE_DATE
    private String[] taskUserCode;                     //DB Column Name: USER_CODE
    private String[] taskExpStartDate;                 //DB Column Name: EXP_START_DATE
    private String[] taskExpFinishDate;                //DB Column Name: EXP_FINISH_DATE
    private String[] taskDuration;                     //DB Column Name: DURATION
    private String[] taskRefLineNo;                    //DB Column Name: REF_LINE_NO
    private String[] taskRefDuration;                  //DB Column Name: REF_DURATION
    private String[] taskDcInd;                        //DB Column Name: DC_IND
    private String[] taskDcDate;                       //DB Column Name: DC_DATE
    private String[] taskStartDate;                    //DB Column Name: START_DATE
    private String[] taskVariations;                   //DB Column Name: VARIATIONS
    private String[] taskRemarks;                      //DB Column Name: REMARKS

    public String[] getDocumentNo() {
        return documentNo;
    }

    public void setDocumentNo(String[] documentNo) {
        this.documentNo = documentNo;
    }

    public String[] getDocumentType() {
        return documentType;
    }

    public void setDocumentType(String[] documentType) {
        this.documentType = documentType;
    }

    public String[] getTaskCompleteDate() {
        return taskCompleteDate;
    }

    public void setTaskCompleteDate(String[] taskCompleteDate) {
        this.taskCompleteDate = taskCompleteDate;
    }

    public String[] getTaskDcDate() {
        return taskDcDate;
    }

    public void setTaskDcDate(String[] taskDcDate) {
        this.taskDcDate = taskDcDate;
    }

    public String[] getTaskDcInd() {
        return taskDcInd;
    }

    public void setTaskDcInd(String[] taskDcInd) {
        this.taskDcInd = taskDcInd;
    }

    public String[] getTaskDeadline() {
        return taskDeadline;
    }

    public void setTaskDeadline(String[] taskDeadline) {
        this.taskDeadline = taskDeadline;
    }

    public String[] getTaskDuration() {
        return taskDuration;
    }

    public void setTaskDuration(String[] taskDuration) {
        this.taskDuration = taskDuration;
    }

    public String[] getTaskExpFinishDate() {
        return taskExpFinishDate;
    }

    public void setTaskExpFinishDate(String[] taskExpFinishDate) {
        this.taskExpFinishDate = taskExpFinishDate;
    }

    public String[] getTaskExpStartDate() {
        return taskExpStartDate;
    }

    public void setTaskExpStartDate(String[] taskExpStartDate) {
        this.taskExpStartDate = taskExpStartDate;
    }

    public String[] getTaskLineNo() {
        return taskLineNo;
    }

    public void setTaskLineNo(String[] taskLineNo) {
        this.taskLineNo = taskLineNo;
    }

    public String[] getTaskRefDuration() {
        return taskRefDuration;
    }

    public void setTaskRefDuration(String[] taskRefDuration) {
        this.taskRefDuration = taskRefDuration;
    }

    public String[] getTaskRefLineNo() {
        return taskRefLineNo;
    }

    public void setTaskRefLineNo(String[] taskRefLineNo) {
        this.taskRefLineNo = taskRefLineNo;
    }

    public String[] getTaskTaskCode() {
        return taskTaskCode;
    }

    public void setTaskTaskCode(String[] taskTaskCode) {
        this.taskTaskCode = taskTaskCode;
    }

    public String[] getTaskTaskDesc() {
        return taskTaskDesc;
    }

    public void setTaskTaskDesc(String[] taskTaskDesc) {
        this.taskTaskDesc = taskTaskDesc;
    }

    public String[] getTaskUserCode() {
        return taskUserCode;
    }

    public void setTaskUserCode(String[] taskUserCode) {
        this.taskUserCode = taskUserCode;
    }

    public String[] getTaskUserGroup() {
        return taskUserGroup;
    }

    public void setTaskUserGroup(String[] taskUserGroup) {
        this.taskUserGroup = taskUserGroup;
    }

    public String[] getTaskRemarks() {
        return taskRemarks;
    }

    public void setTaskRemarks(String[] taskRemarks) {
        this.taskRemarks = taskRemarks;
    }

    public String[] getTaskStartDate() {
        return taskStartDate;
    }

    public void setTaskStartDate(String[] taskStartDate) {
        this.taskStartDate = taskStartDate;
    }

    public String[] getTaskVariations() {
        return taskVariations;
    }

    public void setTaskVariations(String[] taskVariations) {
        this.taskVariations = taskVariations;
    }

    public void beforeRenderButton(ButtonUIControl control) {
        // NOOP
    }

    public void beforeRenderField(Object bean, MetaData metadata, FieldUIControl control) {
        // NOOP
    }

    public Iterator getHdrStatusValues() {
        return this.getTemplate().getCommonStatusValues();
    }

    public Iterator getCreateUserValues() {
        return this.getTemplate().getUserNameValues(this, "createUser");
    }

    public Iterator getUpdateUserValues() {
        return this.getTemplate().getUserNameValues(this, "updateUser");
    }

    public Iterator getHdrOwnerValues() {
        return this.getTemplate().getUserNameValues(this, "hdrOwner");
    }

}
